package com.aiti.lulian.entity;

import com.aiti.base.core.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.List;

/**
 * @Author ZhouS
 * @CreateDate 2022-07-20
 * @Description:供需商机
 */
@Data
@TableName("show_sourcing_demand")
public class LuLianSourcingDemand extends BaseEntity {


    /**主键**/
    @TableId(value = "base_id",type = IdType.ASSIGN_UUID)
    private String baseId;
    /**产品名称-标题**/
    private String baseName;
    /**需求数量-采购量**/
    private Integer num;
    /**需求数量（单位）**/
    private String numUnit;
    /**单价上限**/
    private Integer priceToplimit;
    /**说明描述**/
    private String describes;
    /**参考图片**/
    private String picUrl;
    /**联系人**/
    private String contacts;
    /**联系方式**/
    private String phone;
    /**是否通过联系方式与我洽谈(0:否1：是)**/
    private String  isContact;
    /**状态(0：待审核1：进行中标2：审核失败3：报价已截止)**/
    private String   status;
    /**发布时间**/
    @TableField(value = "base_create_time", fill = FieldFill.INSERT)
    private String baseCreateTime;
    /**修改时间**/
    @TableField(value = "base_update_time", fill = FieldFill.UPDATE)
    private String baseUpdateTime;

    private String creator;
    /**品牌**/
    private String brand;
    /**公司名称**/
    private String enterpriseName;
    /**订单编号**/
    private String baseNo;
    /**询价类型(1：现货/标准品；2：加工/定制品)**/
    private String sourceType;
    /**公开或邀请（1：公开询价；2：定向邀请供应商）**/
    private String isPublic;
    /**采购门户（1:公开到我的采购门户，2：不公开到我的采购门户）**/
    private String isPurchase;
    /**比价（1：密封比价，2非密封比价）**/
    private String isBj;
    /**是否保密(1:是，2：否)**/
    private String isBaomi;
    /**一级类目**/
    private String firstLevel;
    /**二级类目**/
    private String secondaryLevel;
    /**三级类目**/
    private String tertiaryLevel;

    /**
     * 是否热门:1、是,0、否
     */
    @TableField("is_hot")
    private String isHot;

    @TableField(exist = false)
    private LuLianSourcingPurchase showSourcingPurchase;
    @TableField(exist = false)
    private String numUnitLabel;

    @TableField(exist = false)
    private List<LuLianMatter> matterList;
    @TableField(exist = false)
    private LuLianSourcingPurchase purchase;
    @TableField(exist = false)
    private LuLianSourcingContactInfo contactInfo;
    @TableField(exist = false)
    private int offerNum;
    @TableField(exist = false)
    private Integer diffDay;
    @TableField(exist = false)
    private List<SysData> businessModelDataList;
    @TableField(exist = false)
    private List<SysData> certificateDataList;

    /**
     * 性别
     */
    private String sex;

    /**
     * 电子邮箱
     */
    private String email;

    /**
     * 公开联系信息
     */
    private String publicContact;

    /**
     * 点击量
     */
    private Integer click;
}
